package com.wsq.basedemo;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        TextView textView = findViewById(R.id.hello);
        Intent intent = new Intent("com.infi.lift.action.SEND_AD_DATA");
        String data = "{\"appVersion\":\"5.4.75\",\"meterial\":{\"duration\":5000,\"materialId\":\"ADXc0cc4ad577d8f1d1827694e8c3eff11d\",\"type\":1,\"url\":\"https://formal-obs-adv-platform.obs.cn-east-2.myhuaweicloud.com:443/material%2F20201124152320008128_transcode.mp4\"},\"timestamp\":1628759231214,\"type\":\"end\"}";
        intent.putExtra("data", data);
        sendBroadcast(intent);
//        StringBuffer stringBuffer = new StringBuffer(".ۦོ͢✘͢͢ۦོ͢⇣͢✰͢↬ÂмRØ^^O̷ ꦿ⃕O̷↬ۦོ͢✰͢⇣͢✘͢͢\u2066  ✘͢͢ۦོ͢✘͢͢ۦོ͢⇣͢✰͢↬^O̷ ꦿ⃕O̷↬ۦོ͢✰͢⇣͢✘͢͢\u2066  ✘͢͢ۦོ͢✘͢͢ۦོ͢⇣͢✰͢↬^^O̷ ꦿ⃕O̷↬ۦོ͢✰͢⇣͢✘͢͢\u2066  ✘͢͢ۦོ͢✘͢͢ۦۦོ͢✘͢͢ۦོ͢⇣͢✰͢↬^^O̷ ꦿ⃕O̷↬ۦོ͢✰͢⇣͢✘͢͢\u2066 \n" +
//                "------------------------------------");
//        textView.setText(stringBuffer);

    }
}
